# Maintainer: Jonas Heinrich <onny@project-insanity.org>
pkgname=pongoos-loader
pkgver=0_git20210704
pkgrel=1
pkgdesc="Loader for Android on iPhone"
url="https://github.com/checkra1n/pongoOS"
arch="all"
license="MIT"
depends="python3 py3-usb"
options="!check" # upstream does not provide tests
_commit="217eae6f2c540e4b6950c70a2c0d3dcf574d95b2"

source="pongoOS-$_commit.tar.gz::https://github.com/checkra1n/pongoOS/archive/$_commit.tar.gz"
builddir="$srcdir"/pongoOS-$_commit/scripts

package() {
	install -Dm755 load_linux.py "$pkgdir"/usr/bin/pongoos-loader
}

sha512sums="9c3691ca5cba94019408e07debf0acbe7fe914022741b5fe40dbe5481c191da87a0fdb811f760582e37422504528b185adb8a5b31ba1d63225e0bb1ca9132d3e  pongoOS-217eae6f2c540e4b6950c70a2c0d3dcf574d95b2.tar.gz"
